//
//  WeiboAtController.h
//  yuikemall
//
//  Created by yuike5 yuike5 on 12-2-22.
//  Copyright (c) 2012年 yuike. All rights reserved.
//
#import "WeiboHeader.h"
#import <UIKit/UIKit.h>
#import "SinaWeibo.h"
//#import "TencWeibo.h"

@interface WeiboAtRootView : UIView
@end

@interface WeiboAtController : UIViewController<WeiboFriendsDelegate, 
                                                UITableViewDataSource, UITableViewDelegate,
                                                UITextFieldDelegate>
{
    UIButton* button;
    UITextField* textField;
    UITableView* tableView;
    
    WeiboBase* weibo;
    int pageCurrent;
    int reqnum;
    BOOL error;
    BOOL hasNext;
    
    NSMutableArray* atArraySource;
    NSMutableArray* atArrayTarget;
    NSString* filterString;
    
    id callback;
    SEL sel;
    BOOL textViewTextTipState;
}

@property (nonatomic, copy) NSString* filterString;

@property (nonatomic, retain) IBOutlet UITableView* tableView;
@property (nonatomic, retain) IBOutlet UITextField* textField;
@property (nonatomic, retain) IBOutlet UIButton* button;


-(void) clearDataList;
//-(void) theWeiboAtCallback: (WeiboUserNode*)user;
-(void) setWeiboId:(int)weibo_ callback:(id)callback_ sel:(SEL)sel_;
@end
